package com.example.metier;

public class Contact {

	private String nom;
	private String prenom;
	private String num;

	public Contact(String nom, String prenom, String num) {
		super();
		this.nom = nom;
		this.prenom = prenom;
		this.num = num;
	}

	

	public Contact() {
		
	}



	public String toString() {
		return " " + nom + " " + prenom + ", Num : " + num
				+ " ";
	}


	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

}
